package ch04;
import java.util.Scanner;
import java.util.Random;
/**
 * Created by hasee on 2017/6/17.
 */
public class Tirger { public static void main (String[]args){
    Random mose = new Random();

    Scanner fuck1 = new Scanner(System.in);
    String d="y";

   while (d.equalsIgnoreCase("y"))
   { int a = mose.nextInt(10);
       int b = mose.nextInt(10);
       int c = mose.nextInt(10);
       System.out.println(a+" "+b+" "+c);
   if (a==b|b==c|c==a)
       System.out.println("运气还不错哦");
   else
       if (a!=b|a!=c|c!=b)
       System.out.println("看来今天你运气不太好哦");
   else
       System.out.println("人品爆炸！快去买彩票吧！");
   System.out.println("Baby one more time!(y/n)");
   d = fuck1.nextLine();


   }}
}

